package com.applcn.user.repo.entity;

import com.applcn.core.base.BaseEntity;
import com.applcn.user.constant.AuthRangeEnum;
import lombok.Data;

/**
 * com.applcn.user.repo.entity
 * Description:
 *
 * @author: 大妖怪
 * @date: 2020-03-08 23:47
 */
@Data
public class RoleEntity extends BaseEntity {

    private static final long serialVersionUID = 6695603476824433803L;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 简介
     */
    private String introduction;

    /**
     * 权限控制范围
     */
    private AuthRangeEnum authRange;

    /**
     * 店铺id，如果控制范围是商户端，该字段必填
     */
    private Long shopId;
}
